<?php
//Will echo the requesters IP address, like http://whatismyip.org/
echo $_SERVER["REMOTE_ADDR"]; 
?>